package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.common.entity.BaseEntity;
import com.leyou.dto.BrandDTO;
import com.leyou.entity.Brand;

import java.util.List;

public interface BrandService extends IService<Brand> {
    PageDTO<BrandDTO> queryBrandByPage(Integer page, Integer rows, String key);

   // List<BrandDTO> queryBrandByCategory(Long id);

   Brand queryBrandById(Long id);

    List<BrandDTO> queryBrandByCategory(Long id);

    void savebrand(BrandDTO brandDTO);

    void updateBrand(BrandDTO brandDTO);

    void deleteByid(Long id);
}

